package com.gopay.common.core.file.manager.impl;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.gopay.common.core.file.dao.FileUploadDtlDAO;
import com.gopay.common.core.file.manager.FileUploadDtlManager;
import com.gopay.common.domain.file.FileUploadDtl;

/**
 * 文件上传流水Manager
 * @FileUploadDtlManagerImpl.java
 * @author Light
 * @2016年6月6日 上午11:01:01  www.gopay.com.cn Inc.All rights reserved.
 */
@Service( value = "fileUploadDtlManager" )
public class FileUploadDtlManagerImpl implements FileUploadDtlManager{
    
    @Resource( name = "fileUploadDtlDAO" )
    FileUploadDtlDAO fileUploadDtlDAO;

    @Override
    public FileUploadDtl get(Serializable id) {
        return fileUploadDtlDAO.get(id);
    }

    @Override
    public List<FileUploadDtl> get(Map<Object, Object> paraMap) {
        return fileUploadDtlDAO.get(paraMap);
    }

    @Override
    public List<FileUploadDtl> getAll() {
        return null;
    }

    @Override
    public void saveFileUploadDtl(FileUploadDtl fileUploadDtl){
        fileUploadDtlDAO.saveFileUploadDtl(fileUploadDtl);
    }

    @Override
    public void updateFileUploadDtl(FileUploadDtl fileUploadDtl) {
        fileUploadDtlDAO.updateFileUploadDtl(fileUploadDtl);
    }

}
